package com.white.hot.dto;


public class WsClientBean
{
	public String token;
	public String device;
	public String userName;
	public String logTime;
	public String seesionId;
	
	@Override
	public boolean equals(Object obj)
	{
		if(obj == null) return false;
		if(obj.getClass() == WsClientBean.class)
		{
			WsClientBean o = (WsClientBean) obj;
			if(o.token.equals(token)) return true;
		}
		return false;
	}
	
	@Override
	public int hashCode()
	{
		return token.hashCode();
	}
}
